package com.zmn.oms.zmn.business.interfaces.work.list;

import com.zmn.oms.model.entity.work.OrderBaseEsQuery;
import com.zmn.oms.model.entity.work.OrderWorkQuery;
import com.zmn.oms.model.vo.work.list.ZsOrderWorkBranchFinanceCountVO;
import com.zmn.oms.model.vo.work.list.ZsOrderWorkBranchFinanceVO;

import java.util.List;

/**
 * 类描述：子公司财务查询
 *
 * @author lujia
 * @date 2018/12/03 17:03
 */
public interface ZsOrderWorkBranchFinanceQueryBService {

    /**
     * 列表统计数据
     *
     * @param query
     * @return
     */
    ZsOrderWorkBranchFinanceCountVO findWorkCount(OrderBaseEsQuery query);

    /**
     * 统计工程师总数
     *
     * @param query
     * @return
     */
    Integer findMasterCountByQuery(OrderWorkQuery query);

    /**
     * 分页查询工单
     *
     * @param query 工单查询条件
     * @return 工单列表查询
     */
    List<ZsOrderWorkBranchFinanceVO> listPageOrderWorkByQuery(OrderWorkQuery query);

    /**
     * 分页查询工单((无需记录查询记录))
     *
     * @param query 工单查询条件
     * @return 工单列表查询
     */
    List<ZsOrderWorkBranchFinanceVO> listPageOrderWorkByQueryNoRecord(OrderWorkQuery query);

    /**
     * 导出工单列表
     *
     * @param query 工单查询条件
     * @return 下载 url
     */
    String exportListOrderWorkByQuery(OrderWorkQuery query);
}
